﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="WellDone.NewPasswordDialog"
           Width="324" Height="162" 
           Title="Change Password">
    <Grid Margin="2,2,2,0">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <sdk:Label HorizontalAlignment="Right" Content="New Password" Height="19" Margin="-2,17,201,0" VerticalAlignment="Top" Width="103"/>
        <PasswordBox HorizontalAlignment="Left" Margin="106,12,0,0" Name="pbNew" VerticalAlignment="Top" Width="186" MaxLength="25"/>
        <sdk:Label HorizontalAlignment="Right" Content="Confirm Password" Height="19" Margin="-2,58,201,0" VerticalAlignment="Top" Width="103"/>
        <PasswordBox HorizontalAlignment="Left" Margin="106,51,0,0" Name="pbConfirm" VerticalAlignment="Top" Width="186" KeyDown="pbConfirm_KeyDown" MaxLength="25"/>
        <Button x:Name="btnOK" Content="OK" Click="btnOK_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,89,0" Grid.Row="1" />
        <Button x:Name="btnCancel" Content="Cancel" Click="btnCancel_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,10,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>